// 版权信息组件
import React from 'react'
import { Typography } from 'antd'
import config from '../../addzero-tool/src/constants'
import { CopyrightProps } from '../../src/types'

const { Text } = Typography

const Copyright: React.FC<CopyrightProps> = ({ className, style }) => {
  return (
    <Text className={className} style={style}>
      {config.APP_NAME} ©{config.COPYRIGHT_YEAR} {config.COMPANY_NAME}
    </Text>
  )
}

export default Copyright